﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZombieMonkeys.Vibria.Logic
{
    /// <summary>
    /// This is the puzzle object that will contain all of the data
    /// </summary>
    public class Puzzle
    {
        Grid grid;
        int rows;
        int cols;
        string difficulty;
        bool solved = false;

        public bool Solved
        {
            get { return solved; }
            set { solved = value; }
        }

        public string Difficulty
        {
            get { return difficulty; }
            set { difficulty = value; }
        }

        /// <summary>
        /// For saving the Rows data in the puzzle for saving to xml later
        /// </summary>
        public int Rows
        {
            get { return rows; }
            set { rows = value; }
        }
        
        /// <summary>
        /// For saving the Cols data in the puzzle saving to xml later
        /// </summary>
        public int Cols
        {
            get { return cols; }
            set { cols = value; }
        }

        public Grid Grid
        {
            get { return grid; }
        }

        /// <summary>
        /// Puzzle constructor 
        /// </summary>
        /// <param name="gridToPuzzle"> the grid to use</param>
        public Puzzle(Grid gridToPuzzle)
        {
            grid = gridToPuzzle;
        }
        //just because rick wanted to see a change
    }
}
